home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / qdhelp.zip / QDHLPSRC.ZIP / HPJMAP.QDH < prev    next >
Text File  |  1994-01-25  |  2KB  |  47 lines

  1. //
  2. // hpjbuildtags command
  3. //
  4.  
  5. /topic HPJ_MAP_COMMAND
  6.  
  7.     /title The /hpjmap command
  8.     /keywords /hpjmap;commands
  9.     /browse hpjcom,AUTO
  10.  
  11.     /para \sa300
  12.     /text \b\i\fs40,The /hpjmap command
  13.     /endpara
  14.  
  15.     /para \sa150
  16.       The /hpjmap command has the following syntax:
  17.     /endpara
  18.  
  19.     /para \sa150
  20.       /text \b,/hpjmap TOPIC_NAME Value
  21.     /endpara
  22.  
  23.     /para \sa200
  24.       The /hpjmap command allows you to map a value to a topic name 
  25.       for calling context sensitive help.  If you're having QDHELP automatically
  26.       generate your .HPJ file and generate a .HHH file (Header information
  27.       on context sensitive help) QDHELP will put something like the following
  28.       into the .HPJ file: \line
  29.       [MAP] \line
  30.       #include <helpname.hhh> \line
  31.       What this does is automatically draw in the .hhh file being generated
  32.       by QDHELP.  If you are going to use context sensitive help then you
  33.       might as well let QDHELP do all the work for you!
  34.     /endpara
  35.  
  36.     /para
  37.       If you want to manually place a context sensitive value into the 
  38.       .HPJ file use the /hpjmap command. \line
  39.       As an example, if you want to be able to call help and get to a
  40.       topic named EXAMPLE_TOPIC add the following to your .QDH file: \line
  41.       \//hpjmap EXAMPLE_TOPIC 0x0001 \line
  42.       If you call WinHelp for context sensitive help and pass a value of
  43.       0x0001 for the value WinHelp will bring up EXAMPLE_TOPIC.
  44.     /endpara
  45.  
  46. /endtopic
  47.